#! /usr/bin/python
import cgi, os
import cgitb; cgitb.enable()
import json
#import simplejson as json
print "Content-type: text/html\n\n"
try:
    import msvcrt
    msvcrt.setmode (0, os.O_BINARY) # stdin = 0
    msvcrt.setmode (1, os.O_BINARY) # stdout = 1
except ImportError:
    pass

form = cgi.FieldStorage()

file_item = form['mysql_table']

file_content = form['mysql_table'].value
print file_content
file_content = json.loads(file_content)
